
<fieldset><legend>物料需求</legend>
<table>
	<tr>
		<td width="20%" align="right">类型：</td>
		<td width="30%">{[$result.type_t]}</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3">{[$result.name]}</td>
	</tr>
	{[if $result.type eq '2']}
	<tr>
		<td align="right">规格：</td>
		<td colspan="3">(长*宽*高){[$result.standard]}</td>
	</tr>
	{[/if]} {[if $result.type eq '3']}
	<tr>
		<td align="right">规格：</td>
		<td colspan="3">(ф直径*高){[$result.standard]}</td>
	</tr>
	{[/if]} {[if $result.type eq '1' or $result.type eq '9']}
	<tr>
		<td align="right">规格：</td>
		<td colspan="3">{[$result.standard]}</td>
	</tr>
	{[/if]}
	<tr>
		<td align="right">单位：</td>
		<td>{[$result.unit]}</td>
		<td align="right">申请人：</td>
		<td>{[$result.emp_t]}</td>
	</tr>
	<tr>
		<td align="right">单价：</td>
		<td>{[$result.price|string_price]}</td>
		<td align="right">数量：</td>
		<td>{[$result.amount]}</td>
	</tr>
	<tr>
		<td align="right">用途：</td>
		<td colspan="3">{[$result.used]}</td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3">{[$result.content]}</td>
	</tr>

</table>
</fieldset>

<fieldset><legend>询价信息</legend>
<form id="form_add"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">类型：</td>
		<td width="80%"><select name='type' id='type'>
			{[html_options options=$type_option selected=$result.type]}
		</select></td>
	</tr>
	<tr id='label_cube'>
		<td align="right">规格：</td>
		<td>(长*宽*高)<input type="text" name="v_l" id="v_l" size="8" value="{[$result.length]}"> <input type="text" name="v_w"
			id="v_w" size="8" value="{[$result.width]}"> <input type="text" name="v_h1" id="v_h1" size="8" value="{[$result.height]}">
		(单位：毫米)</td>
	</tr>
	<tr id='label_cylinder'>
		<td align="right">规格：</td>
		<td>(ф直径*高)<input type="text" name="v_d" id="v_d" size="8" value="{[$result.diameter]}"> <input type="text" name="v_h2"
			id="v_h2" size="8" value="{[$result.height]}"> (单位：毫米)</td>
	</tr>
	<tr id='label_v'>
		<td align="right">体积：</td>
		<td><input type="text" name="vvv" id="vvv" size="16" value=""> (单位：立方厘米)</td>
	</tr>
	<tr id='label_density'>
		<td align="right">密度：</td>
		<td><input type="text" name="density" id="density" size="8" value=""> <select name='density_t' id='density_t'>
			{[html_options options=$density_option selected=-]}
		</select> (单位：克/立方厘米)</td>
	</tr>
	<tr>
		<td align="right">单价：</td>
		<td><input type="text" name="price" id="price" size="8" value=""> (单位：人民币/千克)</td>
	</tr>
	<tr>
		<td align="right">价格：</td>
		<td><input type="text" name="total" id="total" size="16" value=""> (单位：人民币)</td>
	</tr>
	<tr id='label_standard'>
		<td align="right">规格：</td>
		<td><textarea rows="2" name="standard" cols="55">{[$result.standard]}</textarea></td>
	</tr>
	<tr>
		<td align="right">信息：</td>
		<td><textarea rows="2" name="content" id="content" cols="55">{[$result.name]} {[$result.standard]} {[$result.amount]}{[$result.unit]}</textarea></td>
	</tr>
</table>
</form>
</fieldset>

<script type="text/javascript" src="js/material/bom/enquiry.js?r={[$smarty.now]}"></script>
